package com.tripwego.client.ui.pageVoyage;

import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;

public class PropositionWidget extends VerticalPanel {

	private final HTML htmlTripwegoVousPropose = new HTML("Tripwego vous propose", true);

	private final HTML html_propositionContent = new HTML("<div id='listing'><table id='results'></table></div>");

	public PropositionWidget() {
		// setWidth("");

		setStyleName("PropositionWidget");

		htmlTripwegoVousPropose.setStyleName("html_propositionHeader");
		html_propositionContent.setStyleName("html_propositionContent");

		add(htmlTripwegoVousPropose);
		setCellHorizontalAlignment(htmlTripwegoVousPropose, HasHorizontalAlignment.ALIGN_CENTER);
		setCellHeight(htmlTripwegoVousPropose, "1%");
		add(html_propositionContent);
		setCellHeight(html_propositionContent, "100%");
	}
}
